package com.ruoyi.project.query.paeaDsInvm.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.query.paeaDsInvm.mapper.PaeaDsInvmMapper;
import com.ruoyi.project.query.paeaDsInvm.domain.PaeaDsInvm;
import com.ruoyi.project.query.paeaDsInvm.service.IPaeaDsInvmService;

/**
 * 账户Service业务层处理
 *
 * @author ruoyi
 * @date 2020-04-06
 */
@Service
public class PaeaDsInvmServiceImpl extends ServiceImpl<PaeaDsInvmMapper, PaeaDsInvm> implements IPaeaDsInvmService
{
    @Autowired
    private PaeaDsInvmMapper paeaDsInvmMapper;

    /**
     * 查询账户列表
     *
     * @param paeaDsInvm 账户
     * @return 账户
     */
    @Override
    public List<PaeaDsInvm> selectPaeaDsInvmList(PaeaDsInvm paeaDsInvm)
    {
        return paeaDsInvmMapper.selectPaeaDsInvmList(paeaDsInvm);
    }

    /**
     * 新增账户
     *
     * @param paeaDsInvm 账户
     * @return 结果
     */
    @Override
    public int insertPaeaDsInvm(PaeaDsInvm paeaDsInvm)
    {
        return paeaDsInvmMapper.insertPaeaDsInvm(paeaDsInvm);
    }

    /**
     * 修改账户
     *
     * @param paeaDsInvm 账户
     * @return 结果
     */
    @Override
    public int updatePaeaDsInvm(PaeaDsInvm paeaDsInvm)
    {
        return paeaDsInvmMapper.updatePaeaDsInvm(paeaDsInvm);
    }

}
